package com.xuecheng.ucenter.mapper;

import com.xuecheng.ucenter.model.po.Users;
import com.xuecheng.ucenter.model.po.menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    //根据用户id查找角色
    List<menu> selectRolesByUserId(Integer id);
    Users selectUserById(String username);



}
